#ifndef LOADINGANIMATION_H
#define LOADINGANIMATION_H

#include <QWidget>

class QHBoxLayout;
class QLabel;
class QSequentialAnimationGroup;

class LoadingAnimation : public QWidget
{
    Q_OBJECT
public:
    explicit LoadingAnimation(QWidget *parent = nullptr);
    void  start();
    void stop();

signals:


private:
    QHBoxLayout *m_layout;
    QVector<QLabel*> m_dots;
    QSequentialAnimationGroup *m_animationGroup;
};

#endif // LOADINGANIMATION_H
